export const LoadReceiptStatusEm = {
  // 装货回单状态
  WAITING_UPLOAD: {
    description: '未上传',
    value: 1
  },
  ALREADY_UPLOAD: {
    description: '已上传',
    value: 2
  }
}

export const UnloadReceiptStatusEm = {
  // 卸货回单状态
  WAITING_UPLOAD: {
    description: '未上传',
    value: 1
  },
  ALREADY_UPLOAD: {
    description: '已上传',
    value: 2
  }
}

export const LoadRejectStatusEm = {
  // 装货驳回状态
  NOT_REJECTED: {
    description: '未驳回',
    value: 1
  },
  REJECT: {
    description: '已驳回',
    value: 2
  }
}

export const UnloadRejectStatusEm = {
  // 卸货驳回状态
  NOT_REJECTED: {
    description: '未驳回',
    value: 1
  },
  REJECT: {
    description: '已驳回',
    value: 2
  }
}

export const CommentTypeEm = {
  // 卸货驳回状态
  WAIT_EVALUATED: {
    description: '待评价',
    value: 1
  },
  ALREADY_EVALUATED: {
    description: '已评价',
    value: 2
  }
}

// 装卸货状态
export const BillOpearStatusEm = {
  SHIPMENT: {
    description: '装货',
    value: 1
  },
  UNLOADING: {
    description: '卸货',
    value: 2
  },
  ALL: {
    description: '全部',
    value: -1
  }
}

// 货主支付状态
export const PayStatusEm = {
  NO_PRE_PAY: {
    description: '未支付预付',
    value: 1
  }, //(1,"未支付预付"),
  PRE_PAID: {
    description: '已支付预付',
    value: 2
  }, //(2,"已支付预付"),
  NO_FREIGHT_PAY: {
    description: '未支付到付',
    value: 3
  }, //(3,"未支付到付"),
  NO_RECEIPT_PAY: {
    description: '未支付回单付',
    value: 4
  }, //(4,"未支付回单付"),
  NO_MONTH_PAY: {
    description: '未支付月结',
    value: 5
  }, //(5,"未支付月结"),
  PAID: {
    description: '已支付',
    value: 6
  } //(6,"已支付"),
}

// 订单指派类型
export const PointTypeEm = {
  SEND: {
    description: '派单',
    value: 1
  },
  FIND: {
    description: '抢单',
    value: 2
  }
}

// 货主操作单据类型
export const BillOpeartionEm = {
  BILL: {
    description: '确认单据',
    value: 1
  },
  SIGN: {
    description: '确认签收',
    value: 2
  },
  CALLBACK: {
    description: '确认回单',
    value: 3
  },
  MOUNTH: {
    description: '支付月结',
    value: 4
  }
}

// 承运人类型
export const CarrierTypeEm = {
  CARRIER: {
    description: '承运商',
    value: 1
  },
  DRIVER: {
    description: '司机',
    value: 2
  }
}

// 订单和运单所有状态
export const BillAllStatusEm: any = {
  ALL: {
    description: '全部',
    value: -1
  },
  WAIT_RE: {
    description: '待接单',
    value: 12
  },
  REJECT: {
    description: '已拒绝',
    value: 13
  },
  DOING: {
    description: '正在进行',
    value: 14
  },
  FORWARDING: {
    description: '待装货',
    value: 21
  }, // 待装货
  In_TRANSIT: {
    description: '运输中',
    value: 22
  }, // 运输中
  TO_SIGNED: {
    description: '待签收',
    value: 23
  }, // 待签收
  SIGNED: {
    description: '待结算',
    value: 24
  }, // 已签收
  FINISHED: {
    description: '已完成',
    value: 25
  }, // 已完成
  CANCELLED: {
    description: '已取消',
    value: 26
  } // 已取消
}

// 运输计算方式
export const SettleTypeEm = {
  Trip: {
    description: '趟',
    value: 1
  },
  TON: {
    description: '吨',
    value: 2
  }
}

// 数据类型
export const DataTypeEm = {
  ORDER: {
    description: '订单',
    value: '1'
  },
  TRANS: {
    description: '运单',
    value: '2'
  }
}

// 运单已完成情况下 评价状态
export const EvaluateEm = {
  WAIT: {
    value: 1,
    description: '待评价'
  },
  FINISHED: {
    value: 2,
    description: '已评价'
  }
}
